-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Tweak supported Node.js versions, drop io.js #1579
Conversation
I can optionally remove io.js 3 from Travis. It won't be supported for much longer, there's no official support policy for io.js while Node.js 0.10/0.12 will officially be supported for another year and Node 4 for another 2.5 years. |
Something is broken on |
The integration tests fail on Re iojs yes let's drop it, |
Damn, looks like because of all the optional dependencies travis is terminating the build, even though it succeeds for me locally. See https://s3.amazonaws.com/archive.travis-ci.org/jobs/79468450/log.txt |
d571242
to
93bc91f
Compare
Done. FAQ & installation docs had conflicting information so I made them consistent. There is duplicated info there, though, maybe on of them could be simplified? I assumed we'll want to support all LTS releases in "active" support state, I didn't mention the "maintenance" support phase as it receives only security updates so it's mostly for apps already deployed and not modified anymore; new Karma releases shouldn't matter for that (read https://github.com/nodejs/LTS/blob/master/README.md for more info about the plan). Node 0.10 is still popular, though so I made an explicit exception for it. I also assumed we'll want to support the latest stable Node (every other stable release will become an LTS, new stable releases will appear each 6 months, not 6 weeks as it was with io.js). The expected schedule would look as follows:
Does that sound OK? |
I dropped an obsolete Node 0.8 entry from |
Sounds good, but it looks like travis is choking on your change for the |
Oops. Fixed. |
Integration tests pass for me locally on Node 4.0.0 as well (OS X 10.11 public beta 6), although lots of optional deps fail to install in the process. |
Isn't this the reason for the termination of the build?
It seems it's getting killed because it logs too much... |
It's mostly one, all related to socket.io not upgrading their dependencies, see #1577 |
We can add v4 to accepted failures temporarily so that build is green. This should be fixed ASAP, though to make sure we don't regress on v4. Let's hope socketio/socket.io#2228 is resolved soon. |
Do you want me to add: matrix:
allow_failures:
- node_js: "4" to |
Yes let's do that, I'll have to check the travis builds manually to ensure nothing too bad happens |
Done. I also reduced the duplication in the docs by referring to FAQ from installation notes. |
https://travis-ci.org/karma-runner/karma/jobs/79486742 failed (Node 0.12), not sure why, I haven't changed anything related. A flake? Could you restart this one job? |
Never mind, I updated the PR again. README previously referred to http://nodejs.org/download/ but this URL is hardly user-friendly. The main Node.js page is very clear how to download the proper Node for your platform so I linked to that instead. Note that I changed the recommendation for OS X to use nvm as well. Not sure if that's easier for people than downloading the installer from the official site but the installed version doesn't update and Linux people can download from the site as well so I don't see why we should be inconsistent here - either point to the official site for all people or suggest nvm for both Linux & OS X. |
Looks good to me, thanks a lot |
One thing can you remove the |
Current setup means karma won't be tested on future updates to the Node v4 line. Those updates are not allowed to introduce breaking changes and only the newest one is officially supported so that's the one that should be tested. In the same way, ythe config doesn't contain "0.10.0" or "0.12.0" but "0.10" & "0.12" so it catches latest updates. io.js testing has been dropped - io.js has no official support policy as opposed to Node.js; also, it won't see any major releases. Refs 6b8d30f
There were the following issues with your Pull Request
Guidelines are available at http://karma-runner.github.io/0.13/dev/git-commit-msg.html This message was auto-generated by https://gitcop.com |
Done. I was previously following Angular conventions. :) |
The previous run was green: https://travis-ci.org/karma-runner/karma/builds/79488599 so hopefully nothing unexpected happens this time. :) |
It's green. :) Ready to land? |
Tweak tested/allowed Node.js/io.js versions
is happy |
|
@KenanSulayman io.js 2.x was already not tested so my PR didn't change much in this regard. :) It's also not supported by upstream anymore AFAIK so I'd get off it ASAP. |
(anyway, as I said, I didn't remove io.js 2 here since it wasn't here in the first place so if you'd like it back, you should open a separate issue) |
Current setup means karma won't be tested on future updates to the Node v4
line. Those updates are not allowed to introduce breaking changes and only
the newest one is officially supported so that's the one that should be tested.
In the same way, ythe config doesn't contain "0.10.0" or "0.12.0" but
"0.10" & "0.12" so it catches latest updates.
io.js testing has been dropped - io.js has no official support policy as
opposed to Node.js; also, it won't see any major releases.
Refs 6b8d30f